package com.yc.chaoshi.cs_manage.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
public class PmsGoodsDTO implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 商品id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    /**
     * 分类id
     */
      private Integer oid;

      /**
     * 商品名字
     */
      private String name;

      /**
     * 商品积分
     */
      private Integer points;

      /**
     * 商品主图
     */
      private String image;

      /**
     * 画册图片
     */
      private String image1;

      /**
     * 删除状态
     */
      private Integer del;

      /**
     * 上架状态
     */
      private Integer grd;

      /**
     * 审核上架状态
     */
      private Integer sgrd;

      /**
     * 销量
     */
      private Integer sales;

      /**
     * 库存
     */
      private Integer stock;

      /**
     * 锁定库存
     */
      private Integer stockup;

      /**
     * 市场单价
     */
      private Integer price;

      /**
     * 优惠价
     */
      private Integer yhp;

      /**
     * 数量单位
     */
      private Integer amount;

      /**
     * 副标题
     */
      private String title;

      /**
     * 品牌id
     */
      private Integer pid;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getOid() {
        return oid;
    }

      public void setOid(Integer oid) {
          this.oid = oid;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public Integer getPoints() {
        return points;
    }

      public void setPoints(Integer points) {
          this.points = points;
      }
    
    public String getImage() {
        return image;
    }

      public void setImage(String image) {
          this.image = image;
      }
    
    public String getImage1() {
        return image1;
    }

      public void setImage1(String image1) {
          this.image1 = image1;
      }
    
    public Integer getDel() {
        return del;
    }

      public void setDel(Integer del) {
          this.del = del;
      }
    
    public Integer getGrd() {
        return grd;
    }

      public void setGrd(Integer grd) {
          this.grd = grd;
      }
    
    public Integer getSgrd() {
        return sgrd;
    }

      public void setSgrd(Integer sgrd) {
          this.sgrd = sgrd;
      }
    
    public Integer getSales() {
        return sales;
    }

      public void setSales(Integer sales) {
          this.sales = sales;
      }
    
    public Integer getStock() {
        return stock;
    }

      public void setStock(Integer stock) {
          this.stock = stock;
      }
    
    public Integer getStockup() {
        return stockup;
    }

      public void setStockup(Integer stockup) {
          this.stockup = stockup;
      }
    
    public Integer getPrice() {
        return price;
    }

      public void setPrice(Integer price) {
          this.price = price;
      }
    
    public Integer getYhp() {
        return yhp;
    }

      public void setYhp(Integer yhp) {
          this.yhp = yhp;
      }
    
    public Integer getAmount() {
        return amount;
    }

      public void setAmount(Integer amount) {
          this.amount = amount;
      }
    
    public String getTitle() {
        return title;
    }

      public void setTitle(String title) {
          this.title = title;
      }
    
    public Integer getPid() {
        return pid;
    }

      public void setPid(Integer pid) {
          this.pid = pid;
      }

    @Override
    public String toString() {
        return "PmsGoods{" +
              "id=" + id +
                  ", oid=" + oid +
                  ", name=" + name +
                  ", points=" + points +
                  ", image=" + image +
                  ", image1=" + image1 +
                  ", del=" + del +
                  ", grd=" + grd +
                  ", sgrd=" + sgrd +
                  ", sales=" + sales +
                  ", stock=" + stock +
                  ", stockup=" + stockup +
                  ", price=" + price +
                  ", yhp=" + yhp +
                  ", amount=" + amount +
                  ", title=" + title +
                  ", pid=" + pid +
              "}";
    }
}
